package org.openkanban.server.service;

import org.openkanban.server.domain.History;
import org.openkanban.shared.util.HistoryAction;
import org.openkanban.shared.util.StatusCodes;

/**
 * history service api
 */
public interface HistoryService {
    StatusCodes writeHistoryEntry(Long boardId, Long userId, Long activityId, HistoryAction historyAction, String text);

    StatusCodes writeHistoryEntry(Long userId, Long parentActivityId, HistoryAction createKanban, String historyText);

    History[] getFullBoardHistory(Long boardId);

}
